function test(){
    var ArrayList = Java.type("java.util.ArrayList")
    var list = new ArrayList()
    list.add(1)
    list.add(2)
    for await (var i of list) {
        print(i)
    }
}
